package main

import "fmt"

func main() {

	// 1
	a := 10
	if a == 10 {
		fmt.Println("a == 10")
	} else {
		fmt.Println(" a != 10")
	}

	//
	if a := 10; a == 10 {
		fmt.Println("a == 10")
	} else if a == 11 {
		fmt.Println("a == 11")
	} else {
		fmt.Println("结束")
	}
}
